<!--{template common/header}-->

<!--{eval $loginhash = 'L'.random(4);}-->
<!--{if empty($_GET['infloat'])}-->       
<div id="ct" class="ptm wp w cl">
	<div class="mn" id="main_message">
		<div class="bm">
        	<div class="bm_h bbs">
				<span class="y">
					<!--{hook/logging_side_top}-->
					<a href="member.php?mod={$_G[setting][regname]}" class="xi2">{lang login_guest}</a>
				</span>
				<h3 class="xs2">{lang getpassword}</h3>
			</div>
<!--{/if}-->            
        	<div id="main_messaqge_$loginhash"{if $auth} style="width: auto"{/if}>
                <!--{if $_G['setting']['pwdsafety']}-->
                    <script type="text/javascript" src="{$_G['setting']['jspath']}md5.js?{VERHASH}" reload="1"></script>
                <!--{/if}-->
                <div id="layer_lostpw_$loginhash">
                    <h3 class="flb cl">
                    <span class="y">
                       <!--{if !empty($_GET['infloat']) && !isset($_GET['frommessage'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET[handlekey]', 0, 1);" title="{lang close}">{lang close}</a><!--{/if}-->
                    </span>    
                    </h3>
                    <form method="post" autocomplete="off" id="lostpwform_$loginhash" class="cl" onsubmit="ajaxpost('lostpwform_$loginhash', 'returnmessage3_$loginhash', 'returnmessage3_$loginhash', 'onerror');return false;" action="member.php?mod=lostpasswd&lostpwsubmit=yes&infloat=yes">
                        <div class="c cl">
                            <input type="hidden" name="formhash" value="{FORMHASH}" />
                            <input type="hidden" name="handlekey" value="lostpwform" />
                            
                            <!--{if $_G['setting']['sms']['sendpage']['4']}-->
                            <div class="smscode_login_nav">
                                <div class="rfm">
                                    <ul class="cl">
                                        <li class="on z">{lang  smscode_14}</li>
                                        <li class="z">{lang  smscode_15}</li>
                                    </ul>
                                </div>    
                            </div>
                            <div class="smscode_login smscode_login$loginhash">
                            <div class="login_showtabbox">
                            <!--{/if}-->
                            <div class="rfm">
                                <table>
                                    <tr>
                                        <th><span class="rq">*</span><label for="lostpw_email">{lang email}:</label></th>
                                        <td><input type="text" name="email" id="lostpw_email" size="30" value=""  tabindex="1" class="px p_fre" /></td>
                                    </tr>
                                </table>
                            </div>
                            <div class="rfm">
                                <table>
                                    <tr>
                                        <th><label for="lostpw_username">{lang username}:</label></th>
                                        <td><input type="text" name="username" id="lostpw_username" size="30" value=""  tabindex="1" class="px p_fre" /></td>
                                    </tr>
                                </table>
                            </div>
            			<!--{if $_G['setting']['sms']['sendpage']['4']}-->         
                            </div>
                             <div class="login_showtabbox" style="display:none">
                                 <div class="rfm">
                                    <table>
                                        <tr>
                                            <th>{lang  smscode_1}:</th>
                                          <td>
                                            {echo smscode_html($space[mobile],4,0)}
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <script type="text/javascript">
							jQuery(function () {
								jQuery('#lostpwform_$loginhash  .smscode_login_nav ul li').each(function (i) {
									jQuery(this).click(function () {
										jQuery('#lostpwform_$loginhash .smscode_login_nav  ul li').removeClass('on');
										jQuery(this).addClass('on');
										jQuery('#lostpwform_$loginhash  .login_showtabbox').hide().eq(i).show();
									})
								})
						
							})
						</script>
                        <!--{/if}-->
                            <div class="rfm mbw bw0">
                                <table>
                                    <tr>
                                        <th></th>
                                        <td><button class="pn pnc" type="submit" name="lostpwsubmit" value="true" tabindex="100"><span>{lang submit}</span></button></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
<!--{if empty($_GET['infloat'])}-->            
        </div>
    </div>    
</div>
<!--{/if}-->	
<!--{template common/footer}-->